import { http } from "@/utils/http";

type ResultTable = {
  total?: number;
  data?: Array<any>;
};

//设施活动碳排预测
export const AlgorithmFacilitygetFinalAggregatedData = (data?: object) => {
  return http.request<ResultTable>("post", `/energy/AlgorithmFacility/getFinalAggregatedData`, {
    data
  });
};

//设施活动碳排预测
export const AlgorithmFacilitygetFinalAggregatedDataLine = (data?: object) => {
  return http.request<ResultTable>("post", `/energy/AlgorithmFacility/getFinalAggregatedDataLine`, {
    data
  });
};
